
using AutoMapper;
using HCD.Hcd.Dtos;
using HCD.Entities;
using HCD.Entities.Dtos;

namespace HCD.Hcd.Dtos
{
	public static class CustomHcdMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <HcdMaster, HcdMasterDto>();
            configuration.CreateMap <HcdMasterDto, HcdMaster>();

            configuration.CreateMap <LabelTypeDict,LabelTypeDto>();
            configuration.CreateMap <LabelTypeDto, LabelTypeDict>();

            configuration.CreateMap<HcdPatLabels, HcdPatLabelsDto>();
            configuration.CreateMap<HcdPatLabelsDto, HcdPatLabels>();

            configuration.CreateMap<HcdMessage, HcdMessageDto>();
            configuration.CreateMap<HcdMessageDto, HcdMessage>();

            configuration.CreateMap<HcdMessage, HcdMessageEditDto>();
            configuration.CreateMap<HcdMessageEditDto, HcdMessage>();

            configuration.CreateMap<PatientPartingInfo, PatientPartingInfoEditDto>();
            configuration.CreateMap<PatientPartingInfoEditDto, PatientPartingInfo>();

            configuration.CreateMap<PatientPartingInfo, PatientPartingInfoDto>();
            configuration.CreateMap<PatientPartingInfoDto, PatientPartingInfo>();

            configuration.CreateMap<UserScreeningDetail, UserScreeningDetailEditDto>();
            configuration.CreateMap<UserScreeningDetailEditDto, UserScreeningDetail>();

            configuration.CreateMap<UserScreeningDetail, UserScreeningDetailDto>();
            configuration.CreateMap<UserScreeningDetailDto, UserScreeningDetail>();

            configuration.CreateMap<UserScreening, UserScreeningEditDto>();
            configuration.CreateMap<UserScreeningEditDto, UserScreening>();

            configuration.CreateMap<UserScreening, UserScreeningDto>();
            configuration.CreateMap<UserScreeningDto, UserScreening>();
        }
    }
}
